package org.swingplus.core.constant.bean;

import java.awt.Cursor;
import java.util.HashMap;
import java.util.Map;

import org.swingplus.core.annotation.widget.Button;
import org.swingplus.core.annotation.widget.Panel;
import org.swingplus.core.bean.Execute;

public class ExecuteConstant {
	
	
	private static final Map<Class, Execute> executeMap=new HashMap<>();
	
	
	static {
		executeMap.put(Panel.class, new Execute(Panel.class,"setCursor",new Class[]{Cursor.class},new Object[] {}));
		executeMap.put(Button.class, new Execute());
		
		
	}
	
	
//	PANEL(Panel,"setCursor",new Class[]{Cursor.class},new Cursor(cursor));
	
	private Class clazz;
	private String method;
	private Class[] clazzs;
	private Object[] invokeParameters;
	private ExecuteConstant(Class clazz, String method, Class[] clazzs, Object[] invokeParameters) {
		this.clazz = clazz;
		this.method = method;
		this.clazzs = clazzs;
		this.invokeParameters = invokeParameters;
	}
	
	
	

}
